﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="MyBlog.WebService._default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script src="../JS/jquery-1.8.3.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
<script type="text/javascript">
    function a()
    {
        $.ajax({
            type:"POST",
            contentType: "application/json;utf-8",
            url: "test.asmx/GetBlogInfo",
            data: "{}",
            dataType: "json",
            success: function(result) {
                result = result.d;
                $("#dictionary").text("");
                $("#dictionary").append(result);
            }
        });
    };
</script>
</head>
<body>
    <form id="form1" runat="server">
        <input type="button" onclick="a()" value="获取当前版本信息" />
    <div id="dictionary">
    
    </div>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
    </form>
</body>
</html>
